package com.hanliy.dao;

import com.hanliy.pojo.AdminEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author hanyulin
 * @apiNote
 * @date 2021/11/9 11:19
 */
@Repository
public interface AdminMapper {

    /**
     * 根据用户名查询用户
     *
     * @param username : 用户名
     * @author hanyulin
     * @date 2021/11/9 11:47
     * @return com.hanliy.pojo.AdminEntity
     */
    List<AdminEntity> queryAdminByName(@Param("username") String username);



}
